package com.lvmama.rhino.mapper;

import com.lvmama.rhino.pojo.funnel.FlowStatisticsFunnel;

import java.util.List;

public interface FunnelMapper {

    /**
     * 插入漏斗
     * @param funnenl
     */
    void insertFunnel(FlowStatisticsFunnel funnenl);

    /**
     * 插入漏斗详情
     * @param funnenl
     */
    void insertFunnelDetail(FlowStatisticsFunnel funnenl);

    FlowStatisticsFunnel selectFunnel(FlowStatisticsFunnel funnenl);

    List<FlowStatisticsFunnel> selectFunnelDetail(FlowStatisticsFunnel funnel);

    List<FlowStatisticsFunnel> selectAllFunnel(FlowStatisticsFunnel funnel);

    void updateFunnel(FlowStatisticsFunnel funnel);

    void updateFunnelDetail(FlowStatisticsFunnel funnel);

    void deleteFunnel(FlowStatisticsFunnel funnel);

    void deleteFunnelDetail(FlowStatisticsFunnel funnel);
}
